﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucArticle.ascx.cs" Inherits="SES.CMS.AdminCP.PageUC.ucArticle" %>
<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<script type="text/javascript">
    function SelectAndClosePopup(value) {
        cbCategory.SetValue(value);
        pcParent.Hide();
    }
</script>

<h2>
    Cập nhật Tin tức</h2>
<div class="dProduct">
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="TenSanPham">
                        Tiêu đề:</label></dt>
                <dd>
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="text-input"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle"
                        ErrorMessage="(*)"></asp:RequiredFieldValidator>
                </dd>
            </dl>
        </div>
        <div class="right-ispro">
            <dl>
                <dt>
                    <label for="">
                        Title:
                    </label>
                </dt>
                <dd>
                    <asp:TextBox ID="txtTileEng" runat="server" CssClass="text-input"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtTileEng"
                        ErrorMessage="(*)"></asp:RequiredFieldValidator>
                </dd>
            </dl>
        </div>
    </div>
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="">
                        Thông tin khác:
                    </label>
                </dt>
                <dd>
                </dd>
            </dl>
        </div>
    </div>
    <div class="inside-product-tab">
        <asp:TabContainer TabIndex="15" ID="tcDetail" runat="server" ActiveTabIndex="1" Width="100%"
            CssClass="MyTabStyle">
            <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="Mô tả">
                <ContentTemplate>
                    <asp:TextBox ID="txtMota" Width="99%" Height="180px" runat="server" TextMode="MultiLine"></asp:TextBox>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Description">
                <ContentTemplate>
                    <asp:TextBox ID="txtDescription" Width="99%" Height="180px" runat="server" TextMode="MultiLine"></asp:TextBox>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="Nội dung">
                <ContentTemplate>
                    <CKEditor:CKEditorControl ID="txtArticleDetail" runat="server" Width="99%">
                    </CKEditor:CKEditorControl>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel4" runat="server" HeaderText="Article Detail">
                <ContentTemplate>
                    <CKEditor:CKEditorControl ID="txtArticleDetailEng" runat="server" Width="99%">
                    </CKEditor:CKEditorControl>
                </ContentTemplate>
            </asp:TabPanel>
        </asp:TabContainer>
    </div>
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <asp:LinkButton runat="server" ID="btnLuu" OnClick="btnLuu_Click" CssClass="awesome-button awe-add" Text="Lưu"></asp:LinkButton>
                <asp:LinkButton runat="server" ID="btnReset"  CssClass="awesome-button awe-delete" CausesValidation="false" Text="Hủy"></asp:LinkButton>
            </dl>
        </div>
    </div>
</div>

